<html>

<SCRIPT LANGUAGE="JavaScript"> 
var javawsInstalled = 0;  
var javaws142Installed=0;
var javaws150Installed=0;
isIE = "false"; 
if (navigator.mimeTypes && navigator.mimeTypes.length) {    
  x = navigator.mimeTypes['application/x-java-jnlp-file'];    
  if (x) { 
    javawsInstalled = 1;       
    javaws142Installed=1;
    javaws150Installed=1;   
  } 
}else{
  isIE = "true"; 
} 
</SCRIPT> 

<SCRIPT LANGUAGE="VBScript">
on error resume next
If isIE = "true" Then
  If Not(IsObject(CreateObject("JavaWebStart.isInstalled"))) Then
     javawsInstalled = 0
  Else
     javawsInstalled = 1
  End If
  If Not(IsObject(CreateObject("JavaWebStart.isInstalled.1.4.2.0"))) Then
     javaws142Installed = 0
  Else
     javaws142Installed = 1
  End If 
  If Not(IsObject(CreateObject("JavaWebStart.isInstalled.1.5.0.0"))) Then
     javaws150Installed = 0
  Else
     javaws150Installed = 1
  End If  
End If
</SCRIPT>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>BHR System</title>
<style type="text/css">
<!--
.style1 {
	font-size: 36px;
	font-weight: bold;
	color: #990000;
}
body {
	background-color: #FFFFFF;
}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>

<script language="JavaScript">
if (javawsInstalled || javaws142Installed || javaws150Installed || (navigator.userAgent.indexOf("Gecko") !=-1)) {
    document.write("<body onLoad=\"MM_preloadImages(\'intakesystem_down.jpg\',\'scheduler_down.jpg\')\"><div align=center class=style1><p>BHR Medical System Access Version 1.2.4.2</p><p><a href=\"http://sys.bhrcorp.org:8090/scheduler/launch.jnlp\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage(\'Image2\',\'\',\'scheduler_down.jpg\',1)\"><img src=\"scheduler.jpg\" alt=\"Scheudler\" name=\"Image2\" width=155 height=93 border=0></a></p><p><a href=\"https://sys.bhrcorp.org:8443/bhr/login.jsp\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage(\'Image1\',\'\',\'intakesystem_down.jpg\',1)\"><img src=\"intakesystem.jpg\" alt=\"Intake System\" name=\"Image1\" width=155 height=93 border=0></a></p></div></body>");
} else {
    document.write("Click ");
    document.write("<a href=http://java.sun.com/PluginBrowserCheck?pass=http://sys.bhrcorp.org:8090/scheduler/download.html&fail=http://java.sun.com/j2se/1.5.0/download.html>here</a> ");
    document.write("to download and install JRE 5.0 and the application.");
}
</SCRIPT>

</html>

